﻿using System;
using System.Runtime.Serialization;

using Dynamic.Core.Attributes;

namespace Dynamic.Core.Types
{
    /// <summary>
    /// 生成类型枚举
    /// </summary>
    [Flags]
    [DataContract]
    [EnumType(DisplayName = "生成类型", Name = "GenerateType")]
    public enum GenerateType
    {
        /// <summary>
        /// 类库
        /// </summary>
        [EnumMember]
        [EnumValue(DisplayName = "类库", Name = "DLL")]
        DLL = 1,

        /// <summary>
        /// 源代码
        /// </summary>
        [EnumMember]
        [EnumValue(DisplayName = "源代码", Name = "Code")]
        Code = 2,

        /// <summary>
        /// 项目
        /// </summary>
        [EnumMember]
        [EnumValue(DisplayName = "项目", Name = "Project")]
        Project = 3,

        /// <summary>
        /// 解决方案
        /// </summary>
        [EnumMember]
        [EnumValue(DisplayName = "解决方案", Name = "Solution")]
        Solution = 4,
    }
}
